package bbb.red;


public class RateAnalyze {

	public static double showRate(double singleRate,int count){
		return 1.0 - Math.pow((1.0-singleRate), count);
	}
	
	public static void main(String[] args) {
//		long a = Utils.c(33, 5);
//		long b = Utils.c(33,4);
//		System.out.println(a);
//		System.out.println(b);
		
		System.out.println(showRate(0.25,6));
	}
}
